<template>
    
</template>
<script>
export default {
    data() {
        return {
			categoryList: [{
          id: 1,
          date: '2016-05-02',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1518 弄'
        }, {
          id: 2,
          date: '2016-05-04',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1517 弄'
        }, {
          id: 3,
          date: '2016-05-01',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1519 弄',
          hasChildren: true
        }, {
          id: 4,
          date: '2016-05-03',
          name: '王小虎',
		  address: '上海市普陀区金沙江路 1516 弄',
		  children:[
			  {
				id: 5,
				date: '2016-05-01',
				name: '王小虎',
				address: '上海市普陀区金沙江路 1519 弄'
				}
		  ]
        }]
		};
    },
    props: ["tableData", "showHeader", "hideSlot", "curr_in"],
    methods: {
		load(tree, treeNode, resolve) {
        setTimeout(() => {
          resolve([
            {
              id: 31,
              date: '2016-05-01',
              name: '王小虎',
              address: '上海市普陀区金沙江路 1519 弄'
            }, {
              id: 32,
              date: '2016-05-01',
              name: '王小虎',
              address: '上海市普陀区金沙江路 1519 弄'
            }
          ])
        }, 1000)},
        cellStyle() {
            return { "text-align": "center" };
        },
    }
};
</script>
<style lang="scss" scoped>
/deep/table {
    width: auto !important;
    min-width: 100%;
}
.el-table {
    border: 1px solid #ebeef5;
    border-width: 0 0 0 1px;
}
.el-table.active {
    border-width: 1px;
}
/deep/.input_box_sort .el-input__inner {
    width: 60px;
    height: 30px;
    text-align: center;
    box-sizing: border-box;
    // padding: 0;
}
/deep/.input_box_name .el-input__inner {
    width: 100px;
    height: 30px;
    text-align: center;
}
/deep/.row-expand-cover .el-table__expand-icon {
    visibility: hidden;
}
.power_name_box {
    display: flex;
    align-items: center;
}
.power_name_box .input_box_name.el-input {
    width: auto;
}
.new_add_next {
    display: flex;
    align-items: center;
    margin-left: 20px;
    color: #19b0df;
}
.new_add_next > span {
    width: 22px;
    height: 22px;
    background: #19b0df;
    color: #fff;
    text-align: center;
    line-height: 19px;
    font-size: 22px;
    border-radius: 5px;
}
.new_add_next > p {
    margin-left: 10px;
}
</style>